/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfohelp.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 问题详情Entity
 * @author zms
 * @version 2018-04-16
 */
public class CampusinfoProDetail extends DataEntity<CampusinfoProDetail> {
	
	private static final long serialVersionUID = 1L;
	private String proId;		// 提问编号
	private String proContent;		// 问题内容
	private String proReply;		// 问题回复
	private String title; //问题题目
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public CampusinfoProDetail() {
		super();
	}

	public CampusinfoProDetail(String id){
		super(id);
	}

	@Length(min=0, max=64, message="提问编号长度必须介于 0 和 64 之间")
	public String getProId() {
		return proId;
	}

	public void setProId(String proId) {
		this.proId = proId;
	}
	
	@Length(min=0, max=60, message="问题内容长度必须介于 0 和 60 之间")
	public String getProContent() {
		return proContent;
	}

	public void setProContent(String proContent) {
		this.proContent = proContent;
	}
	
	@Length(min=0, max=512, message="问题回复长度必须介于 0 和 512 之间")
	public String getProReply() {
		return proReply;
	}

	public void setProReply(String proReply) {
		this.proReply = proReply;
	}
	
}